<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<div><a href="<?php echo U('Home/News/add');?>">添加文章</a>&nbsp;|&nbsp;<a href="/psd1702/TP/index.php/Home/News/lister/id/1">国内</a>&nbsp;|&nbsp;<a href="">国际</a>&nbsp;|&nbsp;<a href="">体育</a></div>
<div>当前位置：首页 &gt; <?php echo ($arr["typename"]); ?> &gt; <?php echo ($arr['title']); ?></div>
<table border='1'>
	<tr>
		<th>姓名</th>
		<th>性别</th>
	</tr>
	<?php if(is_array($newsArr)): foreach($newsArr as $key=>$v): ?><tr>
		<td><a href="/psd1702/TP/index.php/Home/News/detail/id/1"><?php echo ($v["name"]); ?></a></td>
		<td><?php if($v["sex"] == 1): ?>男<?php else: ?>女<?php endif; ?></td>
	</tr><?php endforeach; endif; ?>
	
</table>

</body>
</html>